<?php
class userController extends Controller
{
    public function index()
    {
        $db = DB::table('user');
//        $data = $db->select();
//        var_dump($data);
        $this->assign('data', $db->select());
        $this->display('user/index.html');
    }
    public function user()
    {
        echo '这是用户控制器...';
    }
    public function add()
    {
        echo '添加用户控制器...';
    }
}
